<template>
    <div>
        <van-address-list v-model="chosenAddressId" :list="list" :disabled-list="disabledList"
             default-tag-text="默认" @add="onAdd" @edit="onEdit" />
             <img src="../views/截图20250804092824.png" alt="" style="width: 100%;height: 170px; margin-top: 1px;">
        <div>
            <span class="zuo">优惠券</span>
            <span class="you">暂无优惠券</span>
        </div>

        <div>
            <span class="zuo">店铺优惠</span>
            <span class="you">无</span>
        </div>

        <div>
            <span class="zuo">商品金额</span>
            <span class="you">￥60.000000</span>
        </div>

        <div>
            <span class="zuo">优惠金额</span>
            <span class="you">0</span>
        </div>

        <div>
            <span class="zuo">运费</span>
            <span class="you">免运费</span>
        </div>

        <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit" @click="dd" />
    </div>

</template>

<script setup>
import { useRouter } from 'vue-router';
let router = useRouter()
let dd = () => {
    router.push('/dd')
}
const list = [
    {
        id: '1',
        name: '张三',
        tel: '13000000000',
        address: '浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室',
        isDefault: true,
    },
]
</script>

<style lang="scss" scoped>
.you {
    float: right;
}

div {
    margin-top: 10px;
}
</style>